#include <iostream>
#include <memory>
using std::unique_ptr;

int main()
{
    unique_ptr<int> orig(new int(5));
    std::cout << *orig << std::endl;
    auto stolen = std::move(orig);
    std::cout << *stolen << std::endl;
    std::cout << *orig << std::endl;
    std::cout << "Hello world" << std::endl;
    return 0;
}

